#pragma once
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>

#define SeqListDateType int

typedef struct SeqList
{
	SeqListDateType* arr;
	int size;
	int capacity;
}SeqList;

void SeqListInit(SeqList *ps);
void SeqListPushBack(SeqList *ps,int x);
void SeqListPopBack(SeqList *ps);
void SeqListPushFront(SeqList *ps,int x);
void SeqListPopFront(SeqList *ps);
void SeqListInsert(SeqList* ps,int pos,int x);
void SeqListErase(SeqList* ps, int pos);
void SeqListPrint(SeqList* ps);
void SeqListDestory(SeqList* ps);
